<?php
   include('header.php');
?>
<style type="text/css">
<!--
.style1 {
	font-family: Tahoma, Verdana, Arial;
	font-size: 11px;
	font-weight: bold;
	color: #CC6600;
	text-shadow: #CCCCCC;
	text-transform:uppercase;
}
-->
</style>
<script language="javascript">
function checkform()
{
	obj = document.getElementById('frmCreateNewAccount');
	if ( obj.username.value == "" )
	{
		alert('Chưa nhập vào <?=$lang['l_username']?>!');
		obj.username.focus();
		return false;
	}
	if ( obj.txtYourEmail.value == "" )
	{
		alert('Chưa nhập vào địa chỉ Email của bạn !');
		obj.txtYourEmail.focus();
		return false;
	}
	return true;
}
</script>
<form action="create_new_account.php" method="post" name="frmCreateNewAccount" id="frmCreateNewAccount" onSubmit="return checkform()">

  <table width="100%" border="0" cellspacing="1" cellpadding="0">
    <tr>
      <td height="25" class="vsgroupline">&nbsp;<span class="style1"><?=$lang['l_pc_createaccounttitle']?></span></td>
    </tr>
    <tr>
      <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="20%">&nbsp;</td>
          <td width="*">&nbsp;</td>
        </tr>
        <tr>
		    <td colspan="2"><div><font color="#FF0000">*</font> <?=$lang['l_requiredfield']?></div></td>
		</tr>
        <tr>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
        <tr> 
            <td bgcolor="#FFFFEE"><?=$lang['l_username']?></td>
            <td bgcolor="#FFFFEE"><input name="username" type="text" size="15" maxlength="15" class="vsinput">
              <font color="#FF0000">*</font> </td>
        </tr>
        <tr>
            <td bgcolor="#F0F0F0"><?=$lang['l_Password']?></td>
          <td bgcolor="#F0F0F0"><input name="password" type="text" size="15" maxlength="15" class="vsinput">
		  <font color="#FF0000">*</font></td>
        </tr>
        <tr>
            <td bgcolor="#FFFFEE"><?=$lang['l_confirmpassword']?></td>
          <td bgcolor="#FFFFEE"><input name="repassword" type="text" size="15" maxlength="15" class="vsinput">
		  <font color="#FF0000">*</font></td>
        </tr>
        <tr>
            <td align="left" valign="top" bgcolor="#F0F0F0"><?=$lang['l_pc_yourname']?></td>
            <td bgcolor="#F0F0F0"><input name="realName" type="text" size="25" maxlength="50" class="vsinput">
			<font color="#FF0000">*</font></td>
        </tr>
        <tr>
            <td align="left" valign="top" bgcolor="#FFFFEE"><?=$lang['l_pc_youremail']?></td>
            <td bgcolor="#FFFFEE"><input name="email" type="text" size="25" maxlength="255" class="vsinput">
			<font color="#FF0000">*</font></td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
      </table></td>
    </tr>
    <tr>
      <td align="right" valign="middle"><input class="vsbutton" name="cmdGuestPost" type="submit" value="Submit">&nbsp;</td>
    </tr>
  </table>
</form>
<?php
   include('footer.php');
?>
